﻿<operations:BaseDeviceOperationWindow x:Class="MicroFlasher.Views.Operations.ReadLocksWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:views="clr-namespace:MicroFlasher.Views" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:models="clr-namespace:MicroFlasher.Models"
        xmlns:operations="clr-namespace:MicroFlasher.Views.Operations"
        mc:Ignorable="d"
        Title="Reading Locks" Height="142" Width="300"
        Icon="../../Icons/read.png"
        d:DataContext="{d:DesignInstance models:FlasherOperationModel }">
    <operations:BaseDeviceOperationWindow.TaskbarItemInfo>
        <TaskbarItemInfo ProgressState="{Binding Path=DeviceOperation.Status, Mode=OneWay, Converter={StaticResource ProgressStateConverter}}" ProgressValue="{Binding Path=DeviceOperation.ProgressFraction}" />
    </operations:BaseDeviceOperationWindow.TaskbarItemInfo>
    <StackPanel Orientation="Vertical" Style="{StaticResource DialogContainer}">
        <views:DeviceOperationView DataContext="{Binding Path=DeviceOperation}" />
    </StackPanel>
</operations:BaseDeviceOperationWindow>
